﻿namespace Fast.DynamicProxies
{
    /// <summary>
    /// 拦截接口
    /// </summary>
    public interface IFastInterceptor
    {
        /// <summary>
        /// 执行之前
        /// </summary>
        /// <param name="args">参数</param>
        void BeforeAction(object[] args);

        /// <summary>
        /// 执行之后
        /// </summary>
        /// <param name="args">参数</param>
        /// <param name="result">结果</param>
        void AfterAction(object[] args, object result);
    }
}
